package com.yeyks.common.em.order;

import cn.hutool.core.collection.CollectionUtil;

import java.util.ArrayList;
import java.util.List;

public enum OrderVipFlagEnum {

    C2B(0),
    VIP(1),
    B2C(2),
    JIP(3);

    private Integer value;

    OrderVipFlagEnum(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public static ArrayList<Integer> getVipList(){
        return CollectionUtil.toList(VIP.getValue(),JIP.getValue());
    }

}
